import fetch from "common/src/utils/fetch";

/**
 *  查询列表
 */
function getExamStudents(data) {
  return fetch({
    url: "/api/electionservice/fxExamStudentManagement/examStudentQuery",
    method: "post",
    data
  });
}

/**
 *  导出
 */
function exportExamStudent(data) {
  return fetch({
    url: "/api/electionservice/fxExamStudentManagement/exportExamStudent",
    method: "post",
    data
  });
}

/**
 *  导出重考大补考
 */
function exportReExamStudent(data) {
  return fetch({
    url: "/api/electionservice/fxExamStudentManagement/exportReExamStudent",
    method: "post",
    data
  });
}

/**
 *  导出重考大补考(勾选)
 */
function exportSelectedReExamStudent(data) {
  return fetch({
    url: "/api/electionservice/fxExamStudentManagement/exportSelectedReExamStudent",
    method: "post",
    data
  });
}


/**
 *  列表查询
 */
function examStudentQuery(data) {
  return fetch({
    url: "/api/electionservice/fxExamStudentManagement/examStudentQuery",
    method: "post",
    data
  });
}

const pageUrl = "/api/electionservice/fxExamStudentManagement/examStudentQuery";


export default {
  getExamStudents: getExamStudents,
  exportExamStudent: exportExamStudent,
  exportSelectedReExamStudent : exportSelectedReExamStudent,
  exportReExamStudent : exportReExamStudent,
  examStudentQuery: examStudentQuery,
  pageUrl: pageUrl
};
